package project_part2;

import static org.junit.Assert.*;

import java.text.ParseException;
import java.text.SimpleDateFormat;

import org.junit.Before;
import org.junit.Test;

public class FindMatchTestGenerated {

	static final int FN_BIT = 64;
	static final int MB_BIT = 32;
	static final int LN_BIT = 16;
	static final int DOB_BIT = 8;
	// static final int A_BIT = 8;
	static final int W_BIT = 4;
	static final int H_BIT = 2;
	static final int G_BIT = 1;

@Test
public void testCrit1Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit1Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(1,true);
score_base = sumBits(1&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit2Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(2,true);
score_base = sumBits(2&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit3Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(3,true);
score_base = sumBits(3&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit4Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(4,true);
score_base = sumBits(4&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit5Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(5,true);
score_base = sumBits(5&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit6Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(6,true);
score_base = sumBits(6&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit7Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(7,true);
score_base = sumBits(7&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit8Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(8,true);
score_base = sumBits(8&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit9Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(9,true);
score_base = sumBits(9&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit10Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(10,true);
score_base = sumBits(10&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit11Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(11,true);
score_base = sumBits(11&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit12Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(12,true);
score_base = sumBits(12&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit13Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(13,true);
score_base = sumBits(13&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit14Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(14,true);
score_base = sumBits(14&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con0Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&0);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con0Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&0);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con0Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&0);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con0Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(0);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&0);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con1Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&1);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con1Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&1);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con1Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&1);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con1Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(1);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&1);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con2Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&2);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con2Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&2);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con2Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&2);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con2Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(2);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&2);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con3Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&3);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con3Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&3);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con3Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&3);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con3Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(3);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&3);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con4Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&4);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con4Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&4);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con4Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&4);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con4Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(4);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&4);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con5Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&5);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con5Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&5);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con5Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&5);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con5Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(5);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&5);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con6Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&6);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con6Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&6);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con6Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&6);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con6Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(6);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&6);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con7Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&7);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con7Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&7);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con7Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&7);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con7Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(7);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&7);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con8Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&8);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con8Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&8);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con8Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&8);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con8Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(8);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&8);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con9Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&9);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con9Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&9);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con9Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&9);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con9Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(9);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&9);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con10Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&10);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con10Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&10);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con10Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&10);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con10Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(10);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&10);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con11Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&11);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con11Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&11);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con11Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&11);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con11Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(11);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&11);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con12Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&12);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con12Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&12);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con12Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&12);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con12Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(12);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&12);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con13Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&13);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con13Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&13);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con13Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&13);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con13Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(13);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&13);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con14Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&14);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con14Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&14);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con14Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&14);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con14Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(14);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&14);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con15Thresh1() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&15);
if (score_base >=1)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 1);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con15Thresh2() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&15);
if (score_base >=2)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 2);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con15Thresh3() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&15);
if (score_base >=3)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 3);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
@Test
public void testCrit15Con15Thresh4() {
int score_base = 0;
int outcome = 0;
ContactList clist = new ContactList();
Contact con = setContact(15);
Contact res[] = null;
MatchCriteria mc = setCriteria(15,true);
score_base = sumBits(15&15);
if (score_base >=4)
outcome = 1;
clist.add(con);
res = clist.findMatches(con, mc, 4);
System.out.println("********"   );
System.out.println(con);
System.out.println(mc);
System.out.println(outcome+" "  +res.length);
System.out.println("--------"   );
assertEquals(outcome,res.length);
}
public boolean listMatches(Contact[] clist, int criteria) {

	SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");

	for (int i = 0; i < clist.length; i++) {

		if ((FN_BIT & criteria) == 64 && clist[i].getFirstName() != "T")
			return false;
		if ((MB_BIT & criteria) == 32 && clist[i].getMiddleName() != "T")
			return false;
		if ((LN_BIT & criteria) == 16 && clist[i].getLastName() != "T")
			return false;
		try {
			if ((DOB_BIT & criteria) == 8
					&& clist[i].getDOB().equals(
							dateFormat.parse("10/10/2001")) == false)
				return false;
		} catch (ParseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		// if ((A_BIT & i) == 1)
		// age = 100;
		if ((W_BIT & criteria) == 4 && clist[i].getWeight() != 100)
			return false;
		if ((H_BIT & criteria) == 2 && clist[i].getHeight().getFeet() != 5)
			return false;
		if ((G_BIT & criteria) == 1 && clist[i].getGender() != Gender.MALE)
			return false;
	}

	return true;
}

public int calculateScore(Contact con, int criteria) {

	SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
	int score = 0;

	if ((FN_BIT & criteria) == 64 && con.getFirstName() == "T")
		score++;
	if ((MB_BIT & criteria) == 32 && con.getMiddleName() == "T")
		score++;
	if ((LN_BIT & criteria) == 16 && con.getLastName() == "T")
		score++;
	try {
		if ((DOB_BIT & criteria) == 8
				&& con.getDOB().equals(dateFormat.parse("10/10/2001")) == true)
			score++;
	} catch (ParseException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
	// if ((A_BIT & i) == 1)
	// age = 100;
	if ((W_BIT & criteria) == 4 && con.getWeight() == 100)
		score++;
	if ((H_BIT & criteria) == 2 && con.getHeight().getFeet() == 5)
		score++;
	if ((G_BIT & criteria) == 1 && con.getGender() == Gender.MALE)
		score++;

	return score;
}

public Contact setContact(int num) {
	Contact c;

	String DOB = "10/10/2007";
	short weight = 200;
	int height = 5;
	Gender gender = Gender.FEMALE;

	if ((DOB_BIT & num) == 8)
		DOB = "10/10/2001";
	// if ((A_BIT & i) == 1)
	// age = 100;
	if ((W_BIT & num) == 4)
		weight = 100;
	if ((H_BIT & num) == 2)
		height = 6;
	if ((G_BIT & num) == 1)
		gender = Gender.MALE;

	c = new Contact("T", "T", "T", DOB);
	c.setWeight(weight);
	c.setHeight(height, height);
	c.setGender(gender);

	return c;
}

public MatchCriteria setCriteria(int num, boolean inv) {
	MatchCriteria mc = new MatchCriteria();

	Gender gender = Gender.FEMALE;


		mc.ageHigh = 6;
		mc.ageLow = 4;
		mc.matchAge = inv;

		mc.weightHigh = 250;
		mc.weightLow = 150;
		mc.matchWeight = inv;

		mc.heightHigh = new ContactHeight(5, 8);
		mc.heightLow = new ContactHeight(5, 2);
		mc.matchHeight = inv;

		gender = Gender.FEMALE;
		mc.matchGender = inv;




	if ((DOB_BIT & num) == 8) {
		mc.ageHigh = 12;
		mc.ageLow = 10;
		mc.matchWeight = true;
	}
	if ((W_BIT & num) == 4) {
		mc.weightHigh = 150;
		mc.weightLow = 50;
		mc.matchWeight = true;
	}
	if ((H_BIT & num) == 2) {
		mc.heightHigh = new ContactHeight(6, 9);
		mc.heightLow = new ContactHeight(6, 3);
		mc.matchHeight = true;
	}
	if ((G_BIT & num) == 1) {
		gender = Gender.MALE;
		mc.matchGender = true;
	}

	mc.addGender(gender);
	return mc;
}

public int sumBits(int value) {
	int total = 0;

	if ((1 & value) == 1)
		total++;

	for (int i = 0; i < 31; i++) {
		value = value >> 1;

		if ((1 & value) == 1)
			total++;

	}

	return total;
}
}
